// @ts-ignore
/* eslint-disable */
import request from "@/request";

/** 添加导师育人总结 POST /api/MentorEducation/addSummaryMentorEducation */
export async function addSummaryMentorEducationUsingPost(
  body: API.MentorEducationRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseObject_>(
    "/api/MentorEducation/addSummaryMentorEducation",
    {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 查询导师育人总结（支持公共/个人、文章Id、关键词、排序、分页） POST /api/MentorEducation/getRecordSummaryMentor */
export async function getRecordsSummaryMentorUsingPost(
  body: API.QueryMentorEducationRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseObject_>(
    "/api/MentorEducation/getRecordSummaryMentor",
    {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** 更改（内容，图片,时间） POST /api/MentorEducation/updateRecordSummaryMentor */
export async function updateAchievementArticleUsingPost1(
  body: API.MentorEducationRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseObject_>(
    "/api/MentorEducation/updateRecordSummaryMentor",
    {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
      },
      data: body,
      ...(options || {}),
    }
  );
}
